import request from "@/utils/request"

// 获取列表
export const listDriverSLicense = (params = {}) => { return request.get('/business/vehicleLicense/list', { params }) }
// 获取详情
export const getDriverSLicenseById = (params) => { return request.get(`/business/vehicleLicense/${params}`) }
// 删除
export const deleteDriverSLicense = (params) => { return request.delete('/business/vehicleLicense', { data: params }) }
// 修改
export const updateDriverSLicense = (params = {}) => { return request.put(`/business/vehicleLicense`, params) }
// 新增
export const addDriverSLicense = (params = {}) => { return request.post('/business/vehicleLicense', params) }
